﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace Scribe4net
{
    public class SerializationSettings
    {
        int _maxDept = -1;
        public int MaxDept
        {
            get { return _maxDept; }
            set { _maxDept = value; }
        }

        bool _optIn = false;
        public bool OptIn
        {
            get { return _optIn; }
            set { _optIn = value; }
        }

        BindingFlags _propertyInclusion = BindingFlags.Public | BindingFlags.Instance;
        public BindingFlags PropertyInclusion
        {
            get { return _propertyInclusion; }
            set { _propertyInclusion = value; }
        }

        BindingFlags _fieldInclusion = BindingFlags.Public | BindingFlags.Instance;
        public BindingFlags FieldInclusion
        {
            get { return _fieldInclusion; }
            set { _fieldInclusion = value; }
        }

        bool _includeFields = false;
        public bool IncludeFields
        {
            get { return _includeFields; }
            set { _includeFields = value; }
        }
    }
}
